import React, { Component } from 'react'
import { base, high } from "nc-lightapp-front";
const { NCButton, ModalApp,NCModal } = base;
const { Refer } = high;

class RefChoiceBox extends Component {
    constructor(props) {
        super(props)
        //参照值
        this.state = {
            refObj: {} 
        };
    }

    render() {
        //isShowRefChoiceBox: 是否显示弹框
        //close : 关闭回调
        //confirm : 确定回调
        const { isShowRefChoiceBox, close, confirm,ht } = this.props;
        const { refObj } = this.state;
        return (
            <div>
                <NCModal show={isShowRefChoiceBox} onHide={close} style={ {width: 860 ,height :500 ,size:500} } >
                    <div className="nc-bill-header-area">
                        <div>
                            <ul className="tabs-wrapper single-tab">
                                <li className="tabs-item-selected-num">
                                    <h2>分摊明细</h2>
                                </li>
                                <li className="tabs-item-space-super"></li>
                            </ul>
                        </div>
                    </div>
                    
                        {ht}
                        
                        <div className="nc-bill-header-area">
                        <div  className="header-button-area" >
                        <NCButton style={{width:50,float:"right"}} onClick={confirm.bind(this, refObj)}>
                            取消
                        </NCButton>
                        <NCButton style={{width:50,float:"right"}} onClick={confirm.bind(this, refObj)} colors="primary" >
                            确定
                         </NCButton>
                         
                         </div>
                         </div>
                         <div >
                       
                        </div>
                       
                    
                   
                </NCModal>

            </div>
        )
    }
}
export default RefChoiceBox